{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
{% block app_meta %}{% endblock %}
  <title>{% block title %}{% trans 'glowdrop' %}{% endblock %}</title>
  <link type="text/css" rel="StyleSheet" href="/static/css/base.css" />
  <link type="text/css" rel="StyleSheet" href="/static/css/redmond/jquery-ui-1.7.2.custom.css" />
  {% block app_css %}{% endblock %}
  <script type="text/javascript" src="/static/js/jquery.min.js" ></script>
  <script type="text/javascript" src="/static/js/jquery-ui-1.7.2.custom.min.js"></script>
  <script type="text/javascript" src="/static/js/sprintf.js"></script>
  <script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
  <script type="text/javascript" src="/static/js/max_length.js" ></script>
  <script type="text/javascript" src="/static/js/base.js" ></script>
  {% block app_js %}{% endblock %}  

</head>
<body>    
  <div id="header">
    <a href="/" id="header_logo" ><span>{% trans 'glowdrop' %}</span></a>
    <select id="search_type">
      <option>{% trans 'place' %}</option>
      <OPTION>{% trans 'people' %}</OPTION>
      <OPTION>{% trans 'note' %}</OPTION>
    </select>
    <input id="search_box" />
    <div id="top_navigation">
      {% if user.is_authenticated %} 
      <span id="welcome">{% blocktrans with user.username as username and user.get_profile.location as location %}welcome, {{ username }} from {{ location }} {% endblocktrans %} </span>
      {% endif %}
      <ul>
        {% if user.is_authenticated %}
        <li><a href="{% url django.contrib.auth.views.logout %}">{% trans 'logout' %}</a></li>
        <li><a href="{% url glowdrop.member.views.my_space %}">{% trans 'my space' %}</a></li>
        <li><a href="{% url glowdrop.accounts.views.profile %}">{% trans 'profile' %}</a></li>
        <li><a href="{% url glowdrop.member.views.my_message %}?page_size=10">{% trans 'message' %}</a></li>
        {% else %}
        <li><a href="#" class="login_link">{% trans 'login' %}</a></li>
        <li><a href="{% url glowdrop.accounts.views.register %}">{% trans 'register' %}</a></li>
        <li><a href="{% url glowdrop.defaults.views.index %}">{% trans 'home' %}</a></li>
        <li><a href="#">{% trans 'learn more' %}</a></li>
        {% endif %}
      </ul>
    </div>
  </div>    
  <div id="container">
    {% block container %}{% endblock %}
  </div>
  <div id="footer">
    This is footer
  </div>
<div class="hidden">
</div>
</body>
</html>
